import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/style/index.less'

import 'amfe-flexible' // 适配屏幕,需要导入
import Vant, { Lazyload } from 'vant'
import { formatTime } from '@/utils/date-time.js'
Vue.use(Vant)
Vue.use(Lazyload)
Vue.config.productionTip = false
Vue.filter('formatTime', formatTime)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
